package com.kitty.game.market.model;

import lombok.Data;

/**逛摊集市的物品包*/
@Data
public class Cargo {
    /*
    item.name = pkt:GetLenString()
    item.id = pkt:GetLenString()
    item.price = pkt:GetLong()
    item.pos = i
    item.status = pkt:GetShort()
    item.startTime = pkt:GetLong()
    item.endTime = pkt:GetLong()
    item.level = pkt:GetShort()
    item.unidentified = pkt:GetChar()
    item.amount = pkt:GetShort()
    item.req_level = pkt:GetShort()
    item.extra = pkt:GetLenString()
    item.item_polar = pkt:GetChar()
    item.open_nimbus = pkt:GetChar()
    item.cg_price_count = pkt:GetChar()
    item.init_price = pkt:GetLong()
    item.icon = pkt:GetLong()
     */

    private String name;
    private String id;
    private int price;
    private short status;//状态 1在售 2公示 3超时 4冻结
    private int startTime;
    private int endTime;
    private short petLevel;//重围的等级
    private byte unidentified = 0;//鉴定状态
    private short amount =1;//数量
    private short req_level;//物品的等级
    private String extra = "{}";
    private byte item_polar = 0;//相性
    private byte open_nimbus = 0;//open_nimbus
    private byte cg_price_count = 0;
    private int initPrice = 0;
    private int icon = 0;
}
